<?php

declare(strict_types=1);

namespace App\Model;


/**
 * @property int $id ID
 * @property string $game_id ID
 * @property int $sport_id 运动类型
 * @property string $name 赛事名称
 * @property string $logo 赛事LOGO
 * @property int $level 等级
 * @property int $coll 
 * @property int $country_id 国家编号
 * @property string $country_name 国家名称
 * @property string $country_logo 国家标识
 * @property int $level_weight 等级权重
 * @property int $is_enable 状态
 * @property int $main_sort 主要排序
 * @property int $second_sort 二级排序
 * @property int $add_time 添加时间
 */
class Game extends Model
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'game';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'game_id', 'sport_id', 'name', 'logo', 'level', 'coll', 'country_id', 'country_name', 'country_logo', 'level_weight', 'is_enable', 'main_sort', 'second_sort', 'add_time'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'sport_id' => 'integer', 'level' => 'integer', 'coll' => 'integer', 'country_id' => 'integer', 'level_weight' => 'integer', 'is_enable' => 'integer', 'main_sort' => 'integer', 'second_sort' => 'integer', 'add_time' => 'integer'];
}
